/*
 * Copyright (C) 2010 Seapeak.Xu
 *
 * fostmq may be copied only under the terms of the GNU General
 * Public License V3, which may be found in the fostmq source kit.
 *
 * Created on: 2010-8-3
 * Author: Seapeak.Xu
 */

#ifndef FOSTMQ_PROTOCOL_H_
#define FOSTMQ_PROTOCOL_H_
#ifdef __cplusplus
extern "C"
{
#endif

#define PUSHBYID 11

#define PUSHBYNAME 12

#define POPBYID 13

#define POPBYNAME 14

#define DELETEBYID 15

#define POPDELBYID 16

#define DESTROYQUEUE 44

#define HEARTBEAT 127

#ifndef QUEUE_NAME_LEN
#define QUEUE_NAME_LEN 64
#endif


#ifdef __cplusplus
}
#endif
#endif /* PROTOCOL_H_ */
